﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KaytechSoftware.Cms.App.Areas.Admin.Models.Base;
using KaytechSoftware.Cms.Services.Interfaces;
using KaytechSoftware.Cms.Services.Interfaces.Entity;

namespace KaytechSoftware.Cms.App.Areas.Admin.Interfaces
{
    public interface IGridEntityModel<TEntityDto> where TEntityDto : IDto
    {
        GridEntityModel FromDto(TEntityDto dto);
        TEntityDto ToDto();
    }
}
